package com.fs.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fs.pojo.House;
import com.fs.vo.Condition;
import com.fs.vo.ResponseData;
import com.fs.vo.Search;

import java.util.List;

/**
 * @author yyds
 * @fileName HouseService
 * @date 2024/9/10 16:04
 * @description
 **/
public interface HouseService {
    Page<House> findAllPage(Condition condition);

    House findById(Integer id);

    Boolean addHouse(House house);

    ResponseData<List<House>> myHouse(Integer id);

    Boolean deleteHouse(Integer id);

    Boolean updateHouse(House house);

    Page<House> search(Search search);
}
